package hu.uszeged.inf.wlab.stunner.database.dtos;

import org.codehaus.jackson.annotate.JsonIgnore;

/**
 * DTO to store the mobile net information.
 * 
 * @author szelezsant
 */
public class MobileNetInfoDTO {

	/** The identifier of the record. */
	private long identifier;
	/** The name of the carrier. */
	private String carrier;
	/** The type of the network. */
	private String networkType;
	/** The flag to indicate if the phone is roaming on the current network. */
	private boolean roaming;

	/**
	 * @return the identifier
	 */
	@JsonIgnore
	public long getIdentifier() {
		return identifier;
	}

	/**
	 * @param identifier the identifier to set
	 */
	@JsonIgnore
	public void setIdentifier(final long identifier) {
		this.identifier = identifier;
	}

	/**
	 * @return the carrier
	 */
	public String getCarrier() {
		return carrier;
	}

	/**
	 * @param carrier the carrier to set
	 */
	public void setCarrier(final String carrier) {
		this.carrier = carrier;
	}

	/**
	 * @return the networkType
	 */
	public String getNetworkType() {
		return networkType;
	}

	/**
	 * @param networkType the networkType to set
	 */
	public void setNetworkType(final String networkType) {
		this.networkType = networkType;
	}

	/**
	 * @return the isRoaming
	 */
	public boolean isRoaming() {
		return roaming;
	}

	/**
	 * @param roaming the isRoaming to set
	 */
	public void setRoaming(final boolean roaming) {
		this.roaming = roaming;
	}

	/*
	 * (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "MobileNetInfoDTO [identifier=" + identifier + ", carrier=" + carrier + ", networkType=" + networkType + ", isRoaming="
				+ roaming + "]";
	}
}
